import requests
import scrapy


class EduSpider(scrapy.Spider):
    name = "edu"
    allowed_domains = ["gaokao.chsi.com.cn"]  # 过滤
    start_urls = ["https://gaokao.chsi.com.cn/sch/"]

    def parse(self, response):
        a = response.xpath('//*[@id="app-yxk-sch-list"]/div[1]/div[1]/div[1]/div/a')
        print(a)
        pass
